<?php $tax_class = $form->getObject() ?>
<h1><?php echo $tax_class->isNew() ? __("New Taxclass") : __("Edit Taxclass")?></h1>

<form action="<?php echo url_for('taxclass/update'.(!$tax_class->isNew() ? '?tax_class_id='.$tax_class->getTaxClassId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
  <table>
    <tfoot>
      <tr>
        <td colspan="2">
          &nbsp;<a href="<?php echo url_for('taxclass/index') ?>"><?php echo __("Cancel") ?></a>
          <?php if (!$tax_class->isNew()): ?>
            &nbsp;<?php echo link_to('Delete', 'taxclass/delete?tax_class_id='.$tax_class->getTaxClassId(), array('post' => true, 'confirm' => 'Are you sure?')) ?>
          <?php endif; ?>
          <input type="submit" value=<?php echo __("Save") ?> />
        </td>
      </tr>
    </tfoot>
    <tbody>
      <?php echo $form->renderGlobalErrors() ?>
      <tr>
        <th><?php echo $form['tax_class_title']->renderLabel() ?></th>
        <td>
          <?php echo $form['tax_class_title']->renderError() ?>
          <?php echo $form['tax_class_title'] ?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['tax_class_description']->renderLabel() ?></th>
        <td>
          <?php echo $form['tax_class_description']->renderError() ?>
          <?php echo $form['tax_class_description'] ?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['created_at']->renderLabel() ?></th>
        <td>
          <?php echo $form['created_at']->renderError() ?>
          <?php echo $form['created_at'] ?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['updated_at']->renderLabel() ?></th>
        <td>
          <?php echo $form['updated_at']->renderError() ?>
          <?php echo $form['updated_at'] ?>
        </td>
      </tr>
      <tr>
        <th><?php echo $form['deleted_at']->renderLabel() ?></th>
        <td>
          <?php echo $form['deleted_at']->renderError() ?>
          <?php echo $form['deleted_at'] ?>

        <?php echo $form['tax_class_id'] ?>
        </td>
      </tr>
    </tbody>
  </table>
</form>
